TemplateSyntaxError at /new_weixin/outline/GET

Could not parse the remainder: ' picUrl' from 'if picUrl'
Request Method: GET
Request URL: http://dev.weapp.com/new_weixin/outline/
Django Version: 1.6.4
Exception Type: TemplateSyntaxError
Exception Value:
Could not parse the remainder: ' picUrl' from 'if picUrl'
Exception Location: C:\Python27\lib\site-packages\django\template\base.py in __init__, line 577
Python Executable: C:\Python27\python.exe
Python Version: 2.7.8
Python Path:
['D:\\Weapp\\workspace\\web\\Weapp\\weapp\\core\\stomp',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\apps\\customerized_apps',
 'D:\\Weapp\\workspace\\web\\Weapp',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp',
 'C:\\Python27\\lib\\site-packages\\pymongo-2.7-py2.7-win32.egg',
 'C:\\Python27\\lib\\site-packages\\qrcode-4.0.4-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\six-1.6.1-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\django_excel_response-1.0-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\selenium-2.41.0-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\poster-0.8.1-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\behave-1.2.4-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\parse_type-0.3.4-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\parse-1.6.4-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\enum34-1.0-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\pyyaml-3.11-py2.7-win32.egg',
 'C:\\Python27\\lib\\site-packages\\ua_parser-0.3.5-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\user_agents-0.2.0-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\simplejson-3.5.2-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\networkx-1.9-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\decorator-3.4.0-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\cx_oracle-5.1.3-py2.7-win32.egg',
 'C:\\Python27\\lib\\site-packages\\mongoengine-0.8.7-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\upyun-2.2.3-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\beautifulsoup4-4.3.2-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\beautifulsoup-3.2.1-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\django_behave-0.1.2-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\django_redis-3.8.0-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\redis-2.10.3-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\pylint-1.4.1-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\astroid-1.3.4-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\logilab_common-0.63.2-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\colorama-0.3.3-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\doxypypy-0.8.7-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\celery-3.1.17-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\kombu-3.0.24-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\billiard-3.3.0.19-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\pytz-2014.10-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\amqp-1.4.6-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\anyjson-0.3.3-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\python_dateutil-2.4.2-py2.7.egg',
 'C:\\Windows\\SYSTEM32\\python27.zip',
 'C:\\Python27\\DLLs',
 'C:\\Python27\\lib',
 'C:\\Python27\\lib\\plat-win',
 'C:\\Python27\\lib\\lib-tk',
 'C:\\Python27',
 'C:\\Python27\\lib\\site-packages',
 'C:\\Python27\\lib\\site-packages\\PIL',
 'C:\\Python27\\lib\\site-packages\\win32',
 'C:\\Python27\\lib\\site-packages\\win32\\lib',
 'C:\\Python27\\lib\\site-packages\\Pythonwin',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp']
Server time: 星期二, 18 八月 2015 19:59:24 +0800

Error during template rendering

In template D:\Weapp\workspace\web\Weapp\weapp\templates\base_v2.html, error at line 46

Could not parse the remainder: ' picUrl' from 'if picUrl'

36
37
38
39
40
41
42 <!--
43 content from D:\Weapp\workspace\web\Weapp\weapp\weapp/../static_v2/js/view\common_image_view\template.html
44 -->
45 <script id="image-view-tmpl-src" type="text/x-jquery-tmpl">
46 <div id="imageView-uploadZone" class="imageView-uploadZone {{if picUrl}}xui-hide{{/if}}">
47 <input id="imageView-fileUploader" name="imageView-fileUploader" type="file" class="xui-hide" multi="true"/>
48 </div>
49 <div id="imageView-imgZone" name="imageView-imgZone" class="imgBox pt0 {{if !picUrl}}xui-hide{{/if}} imageView-imgZone"
50 style="width:${width}px;position:relative;">
51 <button class="close xui-close" style="display:block;opacity:1;line-height:16px;"type="button">×</button>
52 <div class="imageView-imgContainer" style="clear: right;">
53 {{if picUrl}}
54 <img src="${picUrl}" width="${width}px" height="${height}px" style="width:${width}px; height:${height}px"/>
55 {{/if}}
56 </div>

Traceback Switch to copy-and-paste view



Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

Variable Value
uuid
'758000300122190620154278'
Hm_lpvt_ee18872310bbb14797f87c9eda185a85
'1439899154'
weizoom_card_auth
'030000140415190620152911'
fmt
'3181020150707puAUat5'
Hm_lvt_ee18872310bbb14797f87c9eda185a85
'1439293058,1439436934,1439899062'
sessionid
'md4cpd45sexidpomrxoi2mam3d9vny3s'
openid_webapp_id
'weizoom____3181'
sct
'9816fb95c841f99b3a9cb463aefc8891'

META

Variable Value
TMP
'C:\\Users\\robert\\AppData\\Local\\Temp'
COMPUTERNAME
'ROBERT-PC'
wsgi.multiprocess
False
RUN_MAIN
'true'
HTTP_REFERER
'http://dev.weapp.com/login/?next=/'
USERDOMAIN
'robert-pc'
VS100COMNTOOLS
'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\Tools\\'
wsgi.multithread
True
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.7.8'
SCRIPT_NAME
u''
COMMONPROGRAMFILES
'C:\\Program Files (x86)\\Common Files'
REQUEST_METHOD
'GET'
VBOX_MSI_INSTALL_PATH
'C:\\Program Files\\Oracle\\VirtualBox\\'
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
SYSTEMROOT
'C:\\Windows'
HOMEDRIVE
'C:'
CONTENT_LENGTH
''
TK_LIBRARY
'C:\\Python27\\tcl\\tk8.5'
GO_HOME
'F:\\go'
PROCESSOR_ARCHITECTURE
'x86'
ALLUSERSPROFILE
'C:\\ProgramData'
SERVER_PORT
'8000'
MONGO_HOME
'd:\\MongoDB\\mongodb-win32-i386-2.6.0\\mongodb-win32-i386-2.6.0'
USERDOMAIN_ROAMINGPROFILE
'robert-pc'
JAVA_HOME
'c:\\Program Files\\Java\\jdk1.7.0_51'
PROGRAMW6432
'C:\\Program Files'
USERNAME
'robert'
DOXYGEN_HOME
'c:\\Program Files\\doxygen'
PROMPT
'$P$G'
COMSPEC
'C:\\Windows\\system32\\cmd.exe'
HTTP_RA_SID
'75591133-20140929-033407-abd56f-37db6d'
NASM_HOME
'd:\\nasm\\'
COMMANDER_DRIVE
'C:'
COMMANDER_EXE
'C:\\totalcmd\\TOTALCMD64.EXE'
HTTP_HOST
'dev.weapp.com'
CHROME_HOME
'C:\\Program Files (x86)\\Google\\Chrome\\Application'
ANDROID_HOME
'd:\\Android\\android-sdk_r20-windows\\android-sdk-windows'
MVN_HOME
'd:\\Maven\\apache-maven-3.2.1'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
WINDIR
'C:\\Windows'
wsgi.version
(1, 0)
MOZ_PLUGIN_PATH
'C:\\Program Files (x86)\\Foxit Software\\Foxit Reader\\plugins\\'
CYGWIN_HOME
'd:\\cygwin'
wsgi.run_once
False
HTTP_RA_VER
'3.0.7'
SYSTEMDRIVE
'C:'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_LANGUAGE
'zh-CN,zh;q=0.8,en;q=0.6'
SCALA_HOME
'c:\\scala'
NUMBER_OF_PROCESSORS
'4'
PROCESSOR_LEVEL
'6'
PROCESSOR_ARCHITEW6432
'AMD64'
OS
'Windows_NT'
PUBLIC
'C:\\Users\\Public'
USERPROFILE
'C:\\Users\\robert'
GOPATH
'D:\\Beego'
PSMODULEPATH
'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\'
REDIS_HOME
'd:\\redis'
HTTP_COOKIE
'weizoom_card_auth=030000140415190620152911; uuid=758000300122190620154278; sct=9816fb95c841f99b3a9cb463aefc8891; fmt=3181020150707puAUat5; openid_webapp_id=weizoom____3181; Hm_lvt_ee18872310bbb14797f87c9eda185a85=1439293058,1439436934,1439899062; Hm_lpvt_ee18872310bbb14797f87c9eda185a85=1439899154; sessionid=md4cpd45sexidpomrxoi2mam3d9vny3s'
GOROOT
'F:\\Go\\'
SERVER_PROTOCOL
'HTTP/1.0'
MYSQL_HOME
'c:\\Program Files\\MySQL\\MySQL Server 5.6'
COMMANDER_PATH
'C:\\totalcmd'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 60 Stepping 3, GenuineIntel'
PROGRAMFILES
'C:\\Program Files (x86)'
PROCESSOR_REVISION
'3c03'
PATH_INFO
u'/new_weixin/outline/'
QUERY_STRING
''
PATH
'C:\\Python27\\lib\\site-packages\\numpy\\core;C:\\Python27\\;C:\\Program Files (x86)\\Common Files\\NetSarang;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\MySQL\\MySQL Utilities 1.3.6\\;C:\\Program Files (x86)\\Calibre2\\;C:\\scala\\bin;C:\\Program Files (x86)\\nodejs\\;C:\\Program Files (x86)\\Git\\cmd;F:\\Go\\bin;C:\\Program Files\\doxygen\\bin;C:\\Program Files\\TortoiseGit\\bin;d:\\NginX\\nginx-1.2.5\\;c:\\Program Files\\doxygen\\bin;d:\\NginX\\nginx-1.2.5\\;F:\\go\\bin;d:\\redis;d:\\nasm\\;d:\\Android\\android-sdk_r20-windows\\android-sdk-windows\\tools;d:\\Scala\\;c:\\Program Files (x86)\\nodejs\\;d:\\Gradle\\gradle-1.10\\bin;;d:\\Android\\android-sdk_r20-windows\\android-sdk-windows\\platform-tools;d:\\Android\\android-sdk_r20-windows\\android-sdk-windows\\tools;c:\\scala\\bin;d:\\Maven\\apache-maven-3.2.1\\bin;d:\\Ant\\apache-ant-1.9.4\\bin;d:\\cygwin\\bin;C:\\Program Files (x86)\\Google\\Chrome\\Application;c:\\Program Files\\MySQL\\MySQL Server 5.6\\bin;d:\\MongoDB\\mongodb-win32-i386-2.6.0\\mongodb-win32-i386-2.6.0\\bin;c:\\Program Files\\Java\\jdk1.7.0_51\\bin;c:\\Python27;c:\\Python27\\Scripts;C:\\Users\\robert\\AppData\\Roaming\\npm'
wsgi.url_scheme
'http'
PROGRAMFILES(X86)
'C:\\Program Files (x86)'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36'
HTTP_CONNECTION
'close'
TEMP
'C:\\Users\\robert\\AppData\\Local\\Temp'
REMOTE_ADDR
'127.0.0.1'
COMMONPROGRAMFILES(X86)
'C:\\Program Files (x86)\\Common Files'
NODE_HOME
'c:\\Program Files (x86)\\nodejs\\'
TIX_LIBRARY
'C:\\Python27\\tcl\\tix8.4.3'
NGINX_HOME
'd:\\NginX\\nginx-1.2.5\\'
LOCALAPPDATA
'C:\\Users\\robert\\AppData\\Local'
HOMEPATH
'\\Users\\robert'
LOGONSERVER
'\\\\ROBERT-PC'
PROGRAMDATA
'C:\\ProgramData'
PYTHON_HOME
'c:\\Python27'
TCL_LIBRARY
'C:\\Python27\\tcl\\tcl8.5'
wsgi.input
<socket._fileobject object at 0x06865270>
wsgi.errors
<open file '<stderr>', mode 'w' at 0x0225D0D0>
SESSIONNAME
'Console'
ASL.LOG
'Destination=file'
FP_NO_HOST_CHECK
'NO'
GRADLE_HOME
'd:\\Gradle\\gradle-1.10'
wsgi.file_wrapper
''
SERVER_NAME
'robert-pc'
APPDATA
'C:\\Users\\robert\\AppData\\Roaming'
ANT_HOME
'd:\\Ant\\apache-ant-1.9.4'
COMMANDER_INI
'C:\\Users\\robert\\AppData\\Roaming\\GHISLER\\wincmd.ini'
REMOTE_HOST
''
DJANGO_SETTINGS_MODULE
'weapp.settings'
CONTENT_TYPE
'text/plain'
COMMONPROGRAMW6432
'C:\\Program Files\\Common Files'
__COMPAT_LAYER
'ElevateCreateProcess'
HTTP_ACCEPT_ENCODING
'gzip, deflate, sdch'

Settings

Using settings module weapp.settings

Setting Value
PAGE_TEMPLATE_IMAGE_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite\\../static/upload\\custom_template'
WEIZOOM_CARD_ADMIN_USERS
('card_admin',)
SERVER_EMAIL
'root@localhost'
HEADIMG_UPLOAD_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp\\../static\\head_images'
APP_MONGO
{'DB': 'app_data', 'HOST': 'mongo.weapp.com'}
COMPONENTS_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite\\./static\\termite_js/app/component'
USE_THOUSAND_SEPARATOR
False
IS_ENABLE_REDIS_CACHE
True
CSRF_COOKIE_SECURE
False
LANGUAGE_CODE
'zh-cn'
ROOT_URLCONF
'weapp.urls'
MANAGERS
()
BASE_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp'
DEFAULT_CHARSET
'utf-8'
TERMITE2_TEMPLATES_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../termite2/templates'
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
STATIC_ROOT
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\deploy_static'
REDIS_CACHES_DB
1
DUMP_DEBUG_MSG
True
PROJECT_JS_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite\\./static\\js'
IS_UNDER_CODE_GENERATION
False
ALLOWED_HOSTS
['*']
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
EMAIL_SUBJECT_PREFIX
'[Django] '
SEND_BROKEN_LINK_EMAILS
False
REDIS_PORT
6379
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_CACHE_ALIAS
'default'
USE_DEV_JS
True
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
VERSION
2
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 100,
             'ENGINE': 'django.db.backends.mysql',
             'HOST': 'db.weapp.com',
             'NAME': 'weapp',
             'OPTIONS': {},
             'PASSWORD': u'********************',
             'PORT': '',
             'TEST_CHARSET': None,
             'TEST_COLLATION': None,
             'TEST_MIRROR': None,
             'TEST_NAME': None,
             'TIME_ZONE': 'Asia/Shanghai',
             'USER': 'weapp'},
 'watchdog': {'ATOMIC_REQUESTS': False,
              'AUTOCOMMIT': True,
              'CONN_MAX_AGE': 100,
              'ENGINE': 'django.db.backends.mysql',
              'HOST': 'db.weapp_operation.com',
              'NAME': 'operation',
              'OPTIONS': {},
              'PASSWORD': u'********************',
              'PORT': '',
              'TEST_CHARSET': None,
              'TEST_COLLATION': None,
              'TEST_MIRROR': None,
              'TEST_NAME': None,
              'TIME_ZONE': 'Asia/Shanghai',
              'USER': 'operation'}}
ENABLE_PROFILE
False
RESOURCES
['stats', 'termite2', 'weixin2', 'mall']
FILE_UPLOAD_PERMISSIONS
None
UPLOAD_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp\\../static\\upload'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
TEMPLATE_CONTEXT_PROCESSORS
['django.contrib.auth.context_processors.auth',
 'django.core.context_processors.request',
 'django.contrib.messages.context_processors.messages',
 'core.context_processors.page_title',
 'core.context_processors.share_page_title',
 'core.context_processors.member_token',
 'core.context_processors.cur_webapp_owner_operation_settings',
 'core.context_processors.get_cur_request_member',
 'core.context_processors.get_cur_request_webapp_user',
 'core.context_processors.cur_request_webapp_id',
 'core.context_processors.mp_user',
 'core.context_processors.system_name',
 'core.context_processors.is_use_dev_resource',
 'core.context_processors.develop_mode',
 'core.context_processors.first_navs',
 'core.context_processors.is_operator',
 'core.context_processors.weapp_models',
 'core.context_processors.weapp_views',
 'core.context_processors.weapp_dialogs',
 'core.context_processors.homepage_workspace_info',
 'core.context_processors.detect_member_operate_capability',
 'core.context_processors.detect_footer_visibility',
 'core.context_processors.get_user_product',
 'core.context_processors.user_token',
 'core.context_processors.request_host',
 'core.context_processors.is_weizoom_mall',
 'core.context_processors.cdn_host',
 'core.context_processors.handlebar_component_templates',
 'termite.core.context_processors.termite_dialogs']
DEFAULT_CONTENT_TYPE
'text/html'
VISIT_RECORD_MIN_TIME_SPAN_SECONDS
180
TEST_RUNNER
'django.test.runner.DiscoverRunner'
APPEND_SLASH
True
FIRST_DAY_OF_WEEK
0
DATABASE_ROUTERS
[]
YEAR_MONTH_FORMAT
'F Y'
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',
             'LOCATION': 'redis://redis.weapp.com:6379/1',
             'OPTIONS': {u'COMPRESS_COMPRESSOR': <built-in function compress>,
                         u'COMPRESS_DECOMPRESSOR': <built-in function decompress>,
                         u'COMPRESS_DECOMPRESSOR_ERROR': <class 'zlib.error'>,
                         'IGNORE_EXCEPTIONS': True}},
 'mem': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
ENABLE_WEPAGE_CACHE
True
DOMAIN
'dev.weapp.com'
PROJECT_HOME
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp'
DEBUG_MERGED_JS
True
SESSION_COOKIE_PATH
'/'
EMAIL_HOST_PASSWORD
u'********************'
WAPI_SECRET_ACCESS_TOKEN
u'********************'
MIDDLEWARE_CLASSES
['core.resource_middleware.RestfulUrlMiddleware',
 'django.middleware.common.CommonMiddleware',
 'core.middleware.ExceptionMiddleware',
 'core.debug_middleware.SimulateWeixinMiddleware',
 'core.debug_middleware.SqlMonitorMiddleware',
 'core.termite_middleware.WebappPageHomePageMiddleware',
 'core.termite_middleware.WebappPageCacheMiddleware',
 'core.resource_middleware.ResourceJsMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'core.middleware.GetRequestInfoMiddleware',
 'core.middleware.RequestUserSourceDetectMiddleware',
 'core.profiling_middleware.ProfileMiddleware',
 'modules.member.middleware.AddUuidSessionMiddleware',
 'core.middleware.UserManagerMiddleware',
 'core.middleware.UserProfileMiddleware',
 'modules.member.middleware.CleanUpCookieMiddleware',
 'modules.member.middleware.MemberCacheMiddleware',
 'modules.member.middleware.ProcessOpenidMiddleware',
 'modules.member.middleware.OAUTHMiddleware',
 'modules.member.middleware.RedirectBySctMiddleware',
 'modules.member.middleware.RequestSocialAccountMiddleware',
 'modules.member.middleware.MemberMiddleware',
 'modules.member.middleware.WebAppUserMiddleware',
 'modules.member.middleware.RedirectByFmtMiddleware',
 'modules.member.middleware.RefuelingMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'termite.core.middleware.DesignModeDetectorMiddleware',
 'termite.core.middleware.ProjectMiddleware',
 'termite.core.middleware.ModifyStaticMiddleware',
 'core.middleware.ModuleNameMiddleware',
 'core.middleware.MarketToolsMiddleware',
 'core.middleware.UserAgentMiddleware',
 'core.middleware.DisablePostInPcBrowserUnderDeployMiddleware',
 'core.middleware.BrowserSourceDetectMiddleware',
 'core.middleware.AuthorizedUserMiddleware',
 'core.middleware.ForceLogoutMiddleware',
 'core.middleware.RequestWebAppMiddleware',
 'core.middleware.WeizoomCardUseAuthKeyMiddleware',
 'core.middleware.SubUserMiddleware',
 'modules.member.middleware.RemoveSharedInfoMiddleware',
 'core.debug_middleware.DisplayImportantObjectMiddleware',
 'core.debug_middleware.DumpContextMiddleware',
 'core.middleware.PageIdMiddleware',
 'core.middleware.ManagerDetectMiddleware',
 'core.middleware.PermissionMiddleware',
 'core.middleware.WeizoomMallMiddleware',
 'core.middleware.WebAppPageVisitMiddleware',
 'core.middleware.LocalCacheMiddleware',
 'cloud_housekeeper.middleware.CloudSessionMiddleware']
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
u'********************'
DJANGO_REDIS_IGNORE_EXCEPTIONS
True
MOM_HOST
'192.168.1.11'
LANGUAGE_COOKIE_NAME
'django_language'
DEFAULT_INDEX_TABLESPACE
''
TERMITE_HOME
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite\\./static'
PAY_TEMPLATES_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../pay'
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'django.utils.log.dictConfig'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
ADMINS
()
TEMPLATE_LOADERS
['django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader',
 'termite.core.stripper.Loader']
IS_WRITE_NOTIFY_BY_WATCHDOG
True
CDN_HOST
''
WSGI_APPLICATION
'weapp.wsgi.application'
TEMPLATE_DEBUG
True
X_FRAME_OPTIONS
'SAMEORIGIN'
CSRF_COOKIE_NAME
'csrftoken'
FORCE_SCRIPT_NAME
None
USE_X_FORWARDED_HOST
False
MIXUP_FACTOR
3179
WATCHDOG_DB
'default'
SESSION_COOKIE_SECURE
False
TASKQUEUE_ENABLED
True
REDIS_HOST
'redis.weapp.com'
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
True
BATMAN_API_IMPL
u'********************'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'captcha',
 'apps.customerized_apps.shengjing',
 'apps.customerized_apps.weshop',
 'account',
 'account.social_account',
 'simulator',
 'watchdog',
 'operation',
 'modules',
 'modules.member',
 'weixin',
 'weixin.user',
 'weixin2',
 'termite2',
 'stats',
 'wapi',
 'weixin.message.material',
 'weixin.message.message',
 'weixin.message.qa',
 'weixin.manage',
 'weixin.manage.customerized_menu',
 'weixin.statistics',
 'wxpay',
 'market_tools',
 'market_tools.question',
 'market_tools.prize',
 'tools',
 'tools.map',
 'tools.weather',
 'tools.regional',
 'tools.express',
 'webapp',
 'webapp.modules.cms',
 'webapp.modules.user_center',
 'termite.workbench',
 'manage_tools',
 'help_system',
 'product',
 'mockapi',
 'example',
 'order',
 'apps',
 'deploy',
 'django.contrib.admin',
 'mobile_app',
 'erp',
 'pay',
 'card',
 'mall',
 'mall.promotion',
 'auth',
 'member',
 'weixin.message.message_handler',
 'notice',
 'svsmon',
 'cloud_housekeeper',
 'termite.workbench',
 'order',
 'order.account',
 'order.delivery',
 'market_tools.tools.test_game',
 'market_tools.tools.share_red_envelope',
 'market_tools.tools.thanks_card',
 'market_tools.tools.lottery',
 'market_tools.tools.point_card',
 'market_tools.tools.coupon',
 'market_tools.tools.member_qrcode',
 'market_tools.tools.delivery_plan',
 'market_tools.tools.weizoom_card',
 'market_tools.tools.research',
 'market_tools.tools.red_envelope',
 'market_tools.tools.channel_qrcode',
 'market_tools.tools.activity',
 'market_tools.tools.vote',
 'market_tools.tools.template_message',
 'market_tools.tools.shake',
 'market_tools.tools.complain',
 'market_tools.tools.store']
LANGUAGES_BIDI
('he', 'ar', 'fa', 'ur')
USE_L10N
True
COMMENTS_ALLOW_PROFANITIES
False
UNCATCHED_EXCEPTION_ACTION_URL
''
USE_MOCK_PAY_API
u'********************'
MAIL_NOTIFY_PASSWORD
u'********************'
STATICFILES_DIRS
('./static/',)
DJANGO_HACK_PARAMS
{'enable_record_sql_stacktrace': True}
PREPEND_WWW
False
IS_UNDER_BDD
False
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PROFILE_MIDDLEWARE_RESTRICTIONS
('template', 0.5)
DEBUG_PROPAGATE_EXCEPTIONS
False
MAIL_NOTIFY_ACCOUNT_SMTP
u'smtp.biz.mail.qq.com'
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
TIME_FORMAT
'P'
PAGE_STORE_SERVER_PORT
27017
RECORD_SIMULATOR_MESSAGE
True
IS_MESSAGE_OPTIMIZATION
True
AUTH_USER_MODEL
'auth.User'
DATE_INPUT_FORMATS
('%Y-%m-%d',
 '%m/%d/%Y',
 '%m/%d/%y',
 '%b %d %Y',
 '%b %d, %Y',
 '%d %b %Y',
 '%d %b, %Y',
 '%B %d %Y',
 '%B %d, %Y',
 '%d %B %Y',
 '%d %B, %Y')
MAIL_NOTIFY_USERNAME
u'noreply@weizoom.com'
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
CUSTOMERIZED_TEMPLATES_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../templates/custom'
MALL_CSS_FILE_PATH
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp\\../static\\css\\webapp'
AUTH_PROFILE_MODULE
'account.UserProfile'
SESSION_FILE_PATH
None
CACHE_MIDDLEWARE_ALIAS
'default'
WATCHDOG_WEIXIN_MESSAGE
False
SESSION_SAVE_EVERY_REQUEST
False
NUMBER_GROUPING
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CUSTOMERIZED_APP_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp\\../apps/customerized_apps'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_COOKIE_PATH
'/'
LOGIN_REDIRECT_URL
'/accounts/profile/'
CUSTOMIZED_APP_TEMPLATES_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../apps/customerized_apps'
WEAPP_WEB_VIEW_DIRS_V2
[('static_v2', 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../static_v2/')]
IS_WRITE_EXCEPTION_BY_WATCHDOG
True
DECIMAL_SEPARATOR
'.'
DEFAULT_MSG_HANDLER_CLASSES
('weixin.message.impl_handlers.should_process_checker.ShouldProcessChecker',
 'weixin.message.impl_handlers.recieved_message_log.ReceivedMessageLogger',
 'weixin.statistics.message_statistics.MessageStatistics',
 'weixin.message.impl_handlers.responsed_message_log.ResponseedMessageLogger',
 'weixin.message.impl_handlers.weixin_user_handler.WeixinUserHandler',
 'weixin.message.impl_handlers.member_handler.MemberHandler',
 'market_tools.tools.member_qrcode.ticket_messge_handler.QrcodeHandler',
 'market_tools.tools.channel_qrcode.channel_qrcode_handler.ChannelQrcodeHandler',
 'modules.member.send_mass_msg_result_handler.SendMassMessageResultHandler',
 'weixin.message.impl_handlers.default_event_handler.DefaultEventHandler',
 'weixin.message.qa.auto_qa_message_handler.AutoQaMessageHandler',
 'modules.member.update_member_group_handler.UpdateMemberGroupHandler',
 'weixin.message.qa.auto_qa_default_message_handler.AutoQaDefaultMessageHandler')
LOGOUT_URL
'/accounts/logout/'
IGNORABLE_404_URLS
()
SITE_ID
1
LOCALE_PATHS
()
TEMPLATE_STRING_IF_INVALID
''
ENABLE_SHENGJING_APP
False
EMAIL_USE_TLS
False
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'N j, Y'
MEDIA_ROOT
''
WATCH_DOG_DEVICE
'mysql'
DOWNLOAD_HOME
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite\\./static'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
INSTALLED_TASKS
['watchdog',
 'example.example_echo',
 'modules.member',
 'weixin.message.qa',
 'weixin.statistics',
 'weixin.message.message_handler',
 'market_tools.tools.shake',
 'services.example_service',
 'services.page_visit_service',
 'services.post_save_order_service',
 'services.shared_url_page_visit_service',
 'services.post_pay_order_service',
 'services.oauth_shared_url_service',
 'services.start_promotion_service',
 'services.finish_promotion_service',
 'services.daily_page_visit_statistic_service',
 'services.update_mp_token_service',
 'services.cancel_not_pay_order_service',
 'services.analysis_message_service',
 'services.count_keyword_service',
 'services.send_express_poll_service']
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster@localhost'
WEAPP_WEB_DIALOG_DIRS_V2
[('static_v2', 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../static_v2/')]
TERMITE_WEB_DIALOG_DIRS
[('static', 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite/static/')]
LOTTERY_HEADIMG_UPLOAD_DIR
'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp\\../static\\lottery_head_images'
WEAPP_WEB_VIEW_DIRS
[('static', 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../static/')]
MEDIA_URL
''
DATETIME_FORMAT
'Y m d, H:i:s.u'
TEMPLATE_DIRS
['D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../mall/templates',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../webapp/modules',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../market_tools/tools',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/templates',
 './templates',
 '../templates',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../templates/custom',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../apps/customerized_apps',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../pay',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../termite2/templates',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite/termite_templates',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite/templates',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite/static/termite_js/app',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\termite/static/js',
 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\order/../order/templates']
RESOURCE_LOADED
True
WEAPP_WEB_DIALOG_DIRS
[('static', 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../static/'),
 ('markettools_static',
  'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../market_tools/tools/*')]
WATCH_DOG_LEVEL
0
WEAPP_WEB_MODEL_DIRS_V2
[('static_v2', 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../static_v2/')]
DUMP_TEST_REQUEST
False
IN_DEVELOP_MODE
True
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
IS_IN_TESTING
True
PROFILE_MIDDLEWARE_JSON
False
LOGGING
{'disable_existing_loggers': False,
 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}},
 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}},
 'handlers': {'console': {'class': 'logging.StreamHandler',
                          'formatter': 'simple',
                          'level': 'DEBUG'},
              'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
                              'filters': ['require_debug_false'],
                              'level': 'ERROR'}},
 'loggers': {'console': {'handlers': ['console'], 'level': 'DEBUG'},
             'django.request': {'handlers': ['mail_admins'],
                                'level': 'ERROR',
                                'propagate': True}},
 'version': 1}
SHORT_DATE_FORMAT
'm/d/Y'
SECURE_PROXY_SSL_HEADER
None
PROFILE_MIDDLEWARE_SORT
('time', 'calls')
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
TIME_ZONE
'Asia/Shanghai'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
MODE
'develop'
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
DEFAULT_TABLESPACE
''
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_AGE
432000
REDIS_SERVICE_DB
2
SETTINGS_MODULE
'weapp.settings'
USE_ETAGS
False
LANGUAGES
(('af', 'Afrikaans'),
 ('ar', 'Arabic'),
 ('az', 'Azerbaijani'),
 ('bg', 'Bulgarian'),
 ('be', 'Belarusian'),
 ('bn', 'Bengali'),
 ('br', 'Breton'),
 ('bs', 'Bosnian'),
 ('ca', 'Catalan'),
 ('cs', 'Czech'),
 ('cy', 'Welsh'),
 ('da', 'Danish'),
 ('de', 'German'),
 ('el', 'Greek'),
 ('en', 'English'),
 ('en-gb', 'British English'),
 ('eo', 'Esperanto'),
 ('es', 'Spanish'),
 ('es-ar', 'Argentinian Spanish'),
 ('es-mx', 'Mexican Spanish'),
 ('es-ni', 'Nicaraguan Spanish'),
 ('es-ve', 'Venezuelan Spanish'),
 ('et', 'Estonian'),
 ('eu', 'Basque'),
 ('fa', 'Persian'),
 ('fi', 'Finnish'),
 ('fr', 'French'),
 ('fy-nl', 'Frisian'),
 ('ga', 'Irish'),
 ('gl', 'Galician'),
 ('he', 'Hebrew'),
 ('hi', 'Hindi'),
 ('hr', 'Croatian'),
 ('hu', 'Hungarian'),
 ('ia', 'Interlingua'),
 ('id', 'Indonesian'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('kk', 'Kazakh'),
 ('km', 'Khmer'),
 ('kn', 'Kannada'),
 ('ko', 'Korean'),
 ('lb', 'Luxembourgish'),
 ('lt', 'Lithuanian'),
 ('lv', 'Latvian'),
 ('mk', 'Macedonian'),
 ('ml', 'Malayalam'),
 ('mn', 'Mongolian'),
 ('my', 'Burmese'),
 ('nb', 'Norwegian Bokmal'),
 ('ne', 'Nepali'),
 ('nl', 'Dutch'),
 ('nn', 'Norwegian Nynorsk'),
 ('os', 'Ossetic'),
 ('pa', 'Punjabi'),
 ('pl', 'Polish'),
 ('pt', 'Portuguese'),
 ('pt-br', 'Brazilian Portuguese'),
 ('ro', 'Romanian'),
 ('ru', 'Russian'),
 ('sk', 'Slovak'),
 ('sl', 'Slovenian'),
 ('sq', 'Albanian'),
 ('sr', 'Serbian'),
 ('sr-latn', 'Serbian Latin'),
 ('sv', 'Swedish'),
 ('sw', 'Swahili'),
 ('ta', 'Tamil'),
 ('te', 'Telugu'),
 ('th', 'Thai'),
 ('tr', 'Turkish'),
 ('tt', 'Tatar'),
 ('udm', 'Udmurt'),
 ('uk', 'Ukrainian'),
 ('ur', 'Urdu'),
 ('vi', 'Vietnamese'),
 ('zh-cn', 'Simplified Chinese'),
 ('zh-tw', 'Traditional Chinese'))
MOM_PORT
61613
FILE_UPLOAD_TEMP_DIR
None
INTERNAL_IPS
()
STATIC_URL
'/static/'
EMAIL_PORT
25
USE_TZ
False
SHORT_DATETIME_FORMAT
'm/d/Y P'
PASSWORD_HASHERS
u'********************'
ABSOLUTE_URL_OVERRIDES
{}
PAGE_STORE_DB
'termite'
NOTIFY_SERVER_SECRET
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
USE_DEV_RESOURCE
True
WEAPP_WEB_MODEL_DIRS
[('static', 'D:\\Weapp\\workspace\\web\\Weapp\\weapp\\weapp/../static/')]
IS_UPDATE_PV_UV_REALTIME
True
CSRF_COOKIE_HTTPONLY
False
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S',
 '%Y-%m-%d %H:%M:%S.%f',
 '%Y-%m-%d %H:%M',
 '%Y-%m-%d',
 '%m/%d/%Y %H:%M:%S',
 '%m/%d/%Y %H:%M:%S.%f',
 '%m/%d/%Y %H:%M',
 '%m/%d/%Y',
 '%m/%d/%y %H:%M:%S',
 '%m/%d/%y %H:%M:%S.%f',
 '%m/%d/%y %H:%M',
 '%m/%d/%y')
EVENT_DISPATCHER
'local'
BATMAN_API_HOST
u'********************'
PAGE_STORE_SERVER_HOST
'mongo.weapp.com'
OPTIMIZATION_MSG_HANDLER_CLASSES
('weixin.message.impl_handlers.should_process_checker.ShouldProcessChecker',
 'weixin.message.impl_handlers.recieved_message_log.ReceivedMessageLogger',
 'weixin.statistics.message_statistics.MessageStatistics',
 'weixin.message.impl_handlers.responsed_message_log.ResponseedMessageLogger',
 'weixin.message.message_handler.weixin_user_handler.WeixinUserHandler',
 'weixin.message.message_handler.member_handler.MemberHandler',
 'market_tools.tools.member_qrcode.ticket_messge_handler.QrcodeHandler',
 'market_tools.tools.channel_qrcode.channel_qrcode_handler.ChannelQrcodeHandler',
 'modules.member.send_mass_msg_result_handler.SendMassMessageResultHandler',
 'weixin.message.message_handler.default_event_handler.DefaultEventHandler',
 'weixin.message.message_handler.auto_qa_message_handler.AutoQaMessageHandler')
EMAIL_HOST_USER
''
PROFANITIES_LIST
u'********************'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.